package com.theaf.basemodule.common.dto.organ;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * @Author:songwenke
 * @Description:机构
 * @Date:create in 15:38 2018/1/29
 * @Modified By:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrganDTO implements Serializable {
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty("父名称")
    private String pname;
    @ApiModelProperty("简称")
    private String simpleName;
    @ApiModelProperty("全称")
    private String fullName;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("类型名称")
    private String typeName;
    @ApiModelProperty("是否启用")
    private boolean enabled;
    @ApiModelProperty("创建者")
    private String creater;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新者")
    private String updater;
    @ApiModelProperty("更新时间")
    private String updateTime;
    @ApiModelProperty("其它数据")
    private Map<String,String> otherMap;
}
